package com.lovestudying.entity;

import java.sql.Timestamp;

public class Reply {
	/**
	 * 回复的uuid
	 */
	private String reply_id;
	/**
	 * 发表时间
	 */
	private String create_time;
	/**
	 * 发表账户
	 */
	private Account post_account;
	/**
	 * 内容
	 */
	private String reply_content;
	/**
	 * 回复的上一条评论id
	 */
	private String reply_to;
	/**
	 * 回复的上一条评论的账号
	 */
	private Account reply_to_account;
	/**
	 * 父评论组comment_uuid
	 */
	private String parent_comment;
	/**
	 * 点赞数量
	 */
	private Integer like_num;
	/**
	 * 状态
	 */
	private Integer reply_state;
	/**
	 * 当前查询账号点赞状态
	 */
	private Boolean thisAccountLike;

	public Reply() {
		super();
	}

	public Reply(String reply_id, String create_time, Account post_account, String reply_content, String reply_to,
			Account reply_to_account, String parent_comment, Integer like_num, Integer reply_state,
			Boolean thisAccountLike) {
		super();
		this.reply_id = reply_id;
		this.create_time = create_time;
		this.post_account = post_account;
		this.reply_content = reply_content;
		this.reply_to = reply_to;
		this.reply_to_account = reply_to_account;
		this.parent_comment = parent_comment;
		this.like_num = like_num;
		this.reply_state = reply_state;
		this.thisAccountLike = thisAccountLike;
	}

	public String getReply_id() {
		return reply_id;
	}

	public void setReply_id(String reply_id) {
		this.reply_id = reply_id;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	public Account getPost_account() {
		return post_account;
	}

	public void setPost_account(Account post_account) {
		this.post_account = post_account;
	}

	public String getReply_content() {
		return reply_content;
	}

	public void setReply_content(String reply_content) {
		this.reply_content = reply_content;
	}

	public String getReply_to() {
		return reply_to;
	}

	public void setReply_to(String reply_to) {
		this.reply_to = reply_to;
	}

	public Integer getLike_num() {
		return like_num;
	}

	public void setLike_num(Integer like_num) {
		this.like_num = like_num;
	}

	public Integer getReply_state() {
		return reply_state;
	}

	public void setReply_state(Integer reply_state) {
		this.reply_state = reply_state;
	}

	@Override
	public String toString() {
		return "Reply [reply_id=" + reply_id + ", create_time=" + create_time + ", post_account=" + post_account
				+ ", reply_content=" + reply_content + ", reply_to=" + reply_to + ", reply_to_account="
				+ reply_to_account + ", parent_comment=" + parent_comment + ", like_num=" + like_num + ", reply_state="
				+ reply_state + ", thisAccountLike=" + thisAccountLike + "]";
	}

	public String getParent_comment() {
		return parent_comment;
	}

	public void setParent_comment(String parent_comment) {
		this.parent_comment = parent_comment;
	}

	public Account getReply_to_account() {
		return reply_to_account;
	}

	public void setReply_to_account(Account reply_to_account) {
		this.reply_to_account = reply_to_account;
	}

	public Boolean getThisAccountLike() {
		return thisAccountLike;
	}

	public void setThisAccountLike(Boolean thisAccountLike) {
		this.thisAccountLike = thisAccountLike;
	}

}
